Carbon


Switch Flags

Header: Displays.h

enum {
    kNoSwitchConfirmBit = 0,
    kDepthNotAvailableBit = 1,
    kShowModeBit = 3,
    kModeNotResizeBit = 4,
    kNeverShowModeBit = 5
};

Constant descriptions

kNoSwitchConfirmBit

If the Display Manager sets this bit the display mode is required to function correctly. Your application does not need to provide confirmation if the user switches to this mode.

kDepthNotAvailableBit

If the Display Manager sets this bit the pixel depth of the specified device is not available for the specified display mode.

kShowModeBit

If the Display Manager sets this bit your application should display this mode to the user, even though it may require confirmation.

kModeNotResizeBit

If the Display Manager sets this bit you should not use this mode to resize a display; this mode drives a different connector in cards than in a built-in display.

kNeverShowModeBit

If the Display Manager sets this bit you should not show the mode in the user interface.

In its switchFlags parameter, the function DMCheckDisplayMode returns a pointer to a long integer that specifies flags in two of its bits. The following constants represent bits that are set to 1. These bits are set by the Display Manager, not your application


© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)